home *** CD-ROM | disk | FTP | other *** search
- INCLUDE xpk/xpkLibHeader.i
-
- ******************** $VER: xpkLib.i 1.3 (11.01.1997) *********************
-
- ; Here the needed variables and strings are initialized. Do not change the
- ; format of the IDString. Only add some additional information after the
- ; second brake. An additional $VER: string is not needed!
-
- VERSION EQU 0 ; version of your library
- REVISION EQU 64 ; revision of your library
-
- LibName DC.B 'xpkHUFF.library',0
- IDString DC.B 'xpkHUFF 0.64 (01.04.1997)',13,10,0
- CNOP 0,2
-
- **************************************************************************
-
- ; Functions _InitCode and _ExitCode give you the ability to do things on
- ; opening and closing of library. These functions are called by init
- ; routine or by Expunge. Init is the only funtion, that is allowed to set a
- ; value for an global variable. The library pointer is in A5, registers
- ; have to be saved!!! If _InitCode returns not zero, the init function fails and
- ; thus the library cannot be opened!
-
- ; Sometimes you do not need functions _XpksPackReset, _XpksPackFree or
- ; _XpksUnpackFree. In this case you can set these dummies here:
- ;
- _XpksPackFree
- _XpksPackReset
- _XpksUnpackFree
-
- ; Dummy functions, mark out them if you want to use your own ones
- _InitCode
- _ExitCode MOVEQ #0,D0
- RTS
- ; or set these two if the functions are extern
- ; XREF _InitCode
- ; XREF _ExitCode
-
- **************************************************************************
-
- ; ASM: in assembler language use this file as an include with directive
- ; INCLUDE xpkLib____.i
-
- ; OTHER: In any other language compile this file with an assembler and get
- ; an object file (called like xpkLib____.o). Link this object file together
- ; with your other code. This file MUST be the first one (e.g. it is the
- ; startup code). Set the following external references.
- ;
- ; XREF _XpksPackerInfo
- ; XREF _XpksPackChunk
- ; XREF _XpksPackFree
- ; XREF _XpksPackReset
- ; XREF _XpksUnpackChunk
- ; XREF _XpksUnpackFree
-
- **************************************************************************
-